package com.base.moduleUser.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.base.core.common.http.response.AjaxResult;
import com.base.core.domain.User;
import com.base.core.exception.BusinessException;
import com.base.moduleUser.dto.RegisterDto;
import com.base.moduleUser.dto.UpdateLocationDto;
import com.base.moduleUser.vo.UserLoginVo;

/**
* @author XinyuZhao
* @description 针对表【user(用户表)】的数据库操作Service
* @createDate 2025-06-19 11:07:16
*/
public interface UserService extends IService<User> {

    AjaxResult register(RegisterDto user);

    void delete(User user2);

    void cash(User user3);

    UserLoginVo login(User user) throws BusinessException;

    User getUserByUsername(String username);

    AjaxResult getCaptcha(String phone);

    AjaxResult verifyCaptcha(String phone, String captcha);

    void updateLocation(UpdateLocationDto updateLocationDto);
}
